import mods.modularmachinery.RecipePrimer;
import mods.modularmachinery.RecipeBuilder;
import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;
import crafttweaker.liquid.ILiquidStack;
import crafttweaker.oredict.IOreDict;
import crafttweaker.oredict.IOreDictEntry;
import crafttweaker.data.IData;

// Write Celestial Notes

// Sun (Note 0)
RecipeBuilder.newBuilder("tc_c_n_day","celestial_recorder",200).
addItemInput(<additions:hsadd-blankcelestialnotes>*1).
setAltitude(128,256).
setTime(450,11000).
setDimension([0]).
addEnergyPerTickInput(50).
addItemOutput(<thaumcraft:celestial_notes:0>*1).
build();

// Star & Moon
RecipeBuilder.newBuilder("tc_c_n_night","celestial_recorder",200).
addItemInput(<additions:hsadd-blankcelestialnotes>*1).
setAltitude(128,256).
setTime(13800,22000).
setDimension([0]).
setMoonPhase([0]).
addEnergyPerTickInput(50).
addItemOutput(<thaumcraft:celestial_notes:1>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:2>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:3>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:4>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:5>*1).setChance(0.18).
addItemOutput(<additions:hsadd-blankcelestialnotes>*1).setChance(0.1).
build();

RecipeBuilder.newBuilder("tc_c_n_night","celestial_recorder",200).
addItemInput(<additions:hsadd-blankcelestialnotes>*1).
setAltitude(128,256).
setTime(13800,22000).
setDimension([0]).
setMoonPhase([1]).
addEnergyPerTickInput(50).
addItemOutput(<thaumcraft:celestial_notes:1>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:2>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:3>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:4>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:6>*1).setChance(0.18).
addItemOutput(<additions:hsadd-blankcelestialnotes>*1).setChance(0.1).
build();

RecipeBuilder.newBuilder("tc_c_n_night","celestial_recorder",200).
addItemInput(<additions:hsadd-blankcelestialnotes>*1).
setAltitude(128,256).
setTime(13800,22000).
setDimension([0]).
setMoonPhase([2]).
addEnergyPerTickInput(50).
addItemOutput(<thaumcraft:celestial_notes:1>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:2>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:3>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:4>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:7>*1).setChance(0.18).
addItemOutput(<additions:hsadd-blankcelestialnotes>*1).setChance(0.1).
build();

RecipeBuilder.newBuilder("tc_c_n_night","celestial_recorder",200).
addItemInput(<additions:hsadd-blankcelestialnotes>*1).
setAltitude(128,256).
setTime(13800,22000).
setDimension([0]).
setMoonPhase([3]).
addEnergyPerTickInput(50).
addItemOutput(<thaumcraft:celestial_notes:1>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:2>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:3>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:4>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:8>*1).setChance(0.18).
addItemOutput(<additions:hsadd-blankcelestialnotes>*1).setChance(0.1).
build();

RecipeBuilder.newBuilder("tc_c_n_night","celestial_recorder",200).
addItemInput(<additions:hsadd-blankcelestialnotes>*1).
setAltitude(128,256).
setTime(13800,22000).
setDimension([0]).
setMoonPhase([4]).
addEnergyPerTickInput(50).
addItemOutput(<thaumcraft:celestial_notes:1>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:2>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:3>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:4>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:9>*1).setChance(0.18).
addItemOutput(<additions:hsadd-blankcelestialnotes>*1).setChance(0.1).
build();

RecipeBuilder.newBuilder("tc_c_n_night","celestial_recorder",200).
addItemInput(<additions:hsadd-blankcelestialnotes>*1).
setAltitude(128,256).
setTime(13800,22000).
setDimension([0]).
setMoonPhase([5]).
addEnergyPerTickInput(50).
addItemOutput(<thaumcraft:celestial_notes:1>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:2>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:3>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:4>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:10>*1).setChance(0.18).
addItemOutput(<additions:hsadd-blankcelestialnotes>*1).setChance(0.1).
build();

RecipeBuilder.newBuilder("tc_c_n_night","celestial_recorder",200).
addItemInput(<additions:hsadd-blankcelestialnotes>*1).
setAltitude(128,256).
setTime(13800,22000).
setDimension([0]).
setMoonPhase([6]).
addEnergyPerTickInput(50).
addItemOutput(<thaumcraft:celestial_notes:1>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:2>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:3>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:4>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:11>*1).setChance(0.18).
addItemOutput(<additions:hsadd-blankcelestialnotes>*1).setChance(0.1).
build();

RecipeBuilder.newBuilder("tc_c_n_night","celestial_recorder",200).
addItemInput(<additions:hsadd-blankcelestialnotes>*1).
setAltitude(128,256).
setTime(13800,22000).
setDimension([0]).
setMoonPhase([7]).
addEnergyPerTickInput(50).
addItemOutput(<thaumcraft:celestial_notes:1>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:2>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:3>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:4>*1).setChance(0.18).
addItemOutput(<thaumcraft:celestial_notes:12>*1).setChance(0.18).
addItemOutput(<additions:hsadd-blankcelestialnotes>*1).setChance(0.1).
build();
